[INFO] cloning repository https://github.com/mjptree/netsim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjptree/netsim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjptree%2Fnetsim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjptree%2Fnetsim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 380f211979b9f0a55eb036e8fd7a2439dbd92110
[INFO] checking mjptree/netsim against try#e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e for pr-101680
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjptree%2Fnetsim" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mjptree/netsim on toolchain e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/mjptree/netsim
[INFO] finished tweaking git repo https://github.com/mjptree/netsim
[INFO] tweaked toml for git repo https://github.com/mjptree/netsim written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/mjptree/netsim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4372bb709a31ddde105bb2fb9743ade165df720fe2bb62df1af5e220412abb33
[INFO] running `Command { std: "docker" "start" "-a" "4372bb709a31ddde105bb2fb9743ade165df720fe2bb62df1af5e220412abb33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4372bb709a31ddde105bb2fb9743ade165df720fe2bb62df1af5e220412abb33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4372bb709a31ddde105bb2fb9743ade165df720fe2bb62df1af5e220412abb33", kill_on_drop: false }`
[INFO] [stdout] 4372bb709a31ddde105bb2fb9743ade165df720fe2bb62df1af5e220412abb33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+e79c9799a5ffd821c63b799b91e8aa87fd7ebb1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2e40ca7c7658ec9d3105a6ad535751624438b4c80d75f7f1ce962ab7f2a076cc
[INFO] running `Command { std: "docker" "start" "-a" "2e40ca7c7658ec9d3105a6ad535751624438b4c80d75f7f1ce962ab7f2a076cc", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling syn v1.0.84
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking textwrap v0.14.2
[INFO] [stderr]     Checking netsim-gml v0.1.0 (/opt/rustwide/workdir/netsim-gml)
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]     Checking os_str_bytes v6.0.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling clap_derive v3.0.5
[INFO] [stderr]     Checking clap v3.0.5
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking netsim v0.1.0 (/opt/rustwide/workdir/netsim)
[INFO] [stdout] error[E0412]: cannot find type `OnceCell` in module `lazy`
[INFO] [stdout]   --> netsim/src/worker.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 | std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout]    |                                           ^^^^^^^^ not found in `lazy`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::worker::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `OnceCell`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 35 - std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout] 35 + std::thread_local! { static WORKER: OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `OnceCell` in `lazy`
[INFO] [stdout]   --> netsim/src/worker.rs:35:83
[INFO] [stdout]    |
[INFO] [stdout] 35 | std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout]    |                                                                                   ^^^^^^^^ not found in `lazy`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::worker::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `OnceCell`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 35 - std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout] 35 + std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = OnceCell::new(); }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `OnceCell` in module `lazy`
[INFO] [stdout]   --> netsim/src/worker.rs:35:43
[INFO] [stdout]    |
[INFO] [stdout] 35 | std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout]    |                                           ^^^^^^^^ not found in `lazy`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::worker::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `OnceCell`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 35 - std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout] 35 + std::thread_local! { static WORKER: OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `OnceCell` in `lazy`
[INFO] [stdout]   --> netsim/src/worker.rs:35:83
[INFO] [stdout]    |
[INFO] [stdout] 35 | std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout]    |                                                                                   ^^^^^^^^ not found in `lazy`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use core::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::worker::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::cell::OnceCell;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `OnceCell`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 35 - std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = lazy::OnceCell::new(); }
[INFO] [stdout] 35 + std::thread_local! { static WORKER: lazy::OnceCell<cell::RefCell<Worker>> = OnceCell::new(); }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::worker::Worker`
[INFO] [stdout]  --> netsim/src/net.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::worker::Worker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> netsim/src/task.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 if (this.is_refill_needed()) {
[INFO] [stdout]    |                    ^                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -                 if (this.is_refill_needed()) {
[INFO] [stdout] 33 +                 if this.is_refill_needed() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::worker::Worker`
[INFO] [stdout]  --> netsim/src/net.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::worker::Worker;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> netsim/src/task.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 if (this.is_refill_needed()) {
[INFO] [stdout]    |                    ^                       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -                 if (this.is_refill_needed()) {
[INFO] [stdout] 33 +                 if this.is_refill_needed() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `netsim` due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `netsim` due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2e40ca7c7658ec9d3105a6ad535751624438b4c80d75f7f1ce962ab7f2a076cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2e40ca7c7658ec9d3105a6ad535751624438b4c80d75f7f1ce962ab7f2a076cc", kill_on_drop: false }`
[INFO] [stdout] 2e40ca7c7658ec9d3105a6ad535751624438b4c80d75f7f1ce962ab7f2a076cc
